<?php
include("include/config.inc.php");
$slectUnit = "SELECT unitId,toolsName
                FROM ztoolsname
           LEFT JOIN zunit on zunit.unitId = ztoolsname.unitId
               WHERE ztoolsnameId = ".$_GET['ztoolsnameId'];
$slectUnitRes = mysql_query($slectUnit);
if($unitRow = mysql_fetch_array($slectUnitRes));
{
	echo $toolsName   = $unitRow['toolsName'];
}
?>